/**
 * 2009-11-15 上午11:17:41 
 * esignature
 * com.smc.action.document
 * AbstractDocumentAction
 */
package com.smc.action.document;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ServletRequestAware;

import com.opensymphony.xwork2.ActionSupport;
import com.smc.domain.model.Document;
import com.smc.server.DocumentService;

/**
 * @author chenheng
 * @version 0.0.1
 * 表现层抽象文档操作类
 */
public class AbstractDocumentAction extends ActionSupport implements ServletRequestAware {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8459514509979245555L;
	/**
	 * 注入Request请救对象
	 */
	HttpServletRequest request ;
	/**
	 * 文档列表
	 */
	List<Document> documentList ;
	/**
	 * 文档
	 */
	Document document ;
	/**
	 * 文档服务
	 */
	DocumentService documentService ;
	
	
	public Document getDocument() {
		return document;
	}

	public void setDocument(Document document) {
		this.document = document;
	}


	public List<Document> getDocumentList() {
		return documentList;
	}


	public void setDocumentList(List<Document> documentList) {
		this.documentList = documentList;
	}


	public DocumentService getDocumentService() {
		return documentService;
	}


	public void setDocumentService(DocumentService documentService) {
		this.documentService = documentService;
	}

	public void setServletRequest(HttpServletRequest request) {
		this.request = request ;
	}
	
}
